export function recordCollection(info) {
    const collections = uni.getStorageSync('privacyCollection') || [];
    if (!collections.find(item => item.type === info.type)) {
        collections.push(info);
        uni.setStorageSync('privacyCollection', collections);
    }
}